<HTML>
<HEAD>
<TITLE>Lineas</TITLE>


<script type="text/javascript" src="javascripts/prototype.js"> </script> 
<script type="text/javascript" src="javascripts/effects.js"> </script>
<script type="text/javascript" src="javascripts/window.js"> </script>
<script type="text/javascript" src="javascripts/window_effects.js"> </script>
<script type="text/javascript" src="javascripts/debug.js"> </script>
			
<script src="./runtime/lib/aw.js"></script>
<link href="./runtime/styles/xp/aw.css" rel="stylesheet"></link>

<script type="text/javascript" src="js/bsn.AutoSuggest_c_2.0.js"></script>
<link rel="stylesheet" href="css/autosuggest_inquisitor.css" type="text/css" media="screen" charset="utf-8" />

<LINK REL="stylesheet" TYPE="text/css" HREF="css/style.css">
<script src="./templates/cliente_pedido_morsa.js?ms=<?php echo time() ?>"></script>

</HEAD>
<BODY>
<script>
	var index= 0;
	var contentWin = null;
	var win;
	var obj;
</script>
<div id='wrapper'>
	<div id='content'>
		<form name='detalleformulario' method='post' enctype='multipart/form-data' ACTION='' >
			<TABLE border=0 cellspacing='0' cellpadding='0' width='100%' align='center'>
			<tr>
				<td><a href='#' onClick='fnCierraventanaLinea();'>Cerrar</a></td>
				<td><a href='#' onClick='Windows.closeAll();'>Cerrar 2</a></td>
			</tr>
			<tr>
				<td>
					Proveedor:
				</td>
				<!--<td>"+retorno+"</td></tr>-->
				<td><input type='text' name='nombreproveedor' id='nombreproveedor' size='60' /></td></tr>
				<tr><td>Linea:</td><td><span id='retlineas' name='retlineas'><select><option>...</option></select></span></td></tr>
				<tr><td colspan='2'><span id='retcodigoslineas' name='retcodigoslineas'></span></td></tr>
			</TABLE>
			<input type='button' id='btagregar' name='btagregar' onclick='fnagregarcodtlineastmp()' value='Agregar'>
			<input type='button' id='btterminar' name='btterminar' onclick='fntermagregarcodtlineastmp()' value=' Terminar '>
		</form>
		<script> 
		var options = { script:'buscalineas.php?json=true&', varname:'input', json:true, callback: function (obj) {  alert('simon'); } };
		var as_json = new AutoSuggest('nombreproveedor', options); 
		</script> 
	</div>
</div>
</BODY>
</HTML>
